package com.szjlxh.data.entity;

import java.util.List;

/**
 * Created by liutao on 16/3/19.
 */
public class WeatherThreeHourBean {


    /**
     * lastupdatetime : 20160318080000
     * weatherdata : [{"temp":17.2,"visibility":0,"weathername":"多云","days_rain":999.9,"datetime":"2016031808","wind_dicrect":72.5,"min_temp":999.9,"bj_datetime":"2016-03-19 17:00:00","wind_dicrectname":"东","wind_scale":3.4,"weather":"01","hours_rain":0,"max_temp":999.9},{"temp":8.9,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":76.2,"min_temp":999.9,"bj_datetime":"2016-03-20 23:00:00","wind_dicrectname":"东","wind_scale":3.7,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":13.4,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":93.4,"min_temp":999.9,"bj_datetime":"2016-03-22 14:00:00","wind_dicrectname":"东","wind_scale":4,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":6.2,"visibility":0,"weathername":"多云","days_rain":999.9,"datetime":"2016031808","wind_dicrect":42,"min_temp":999.9,"bj_datetime":"2016-03-24 02:00:00","wind_dicrectname":"东北","wind_scale":2.6,"weather":"01","hours_rain":0,"max_temp":999.9},{"temp":8.5,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":56.3,"min_temp":999.9,"bj_datetime":"2016-03-24 20:00:00","wind_dicrectname":"东北","wind_scale":2.3,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":7.2,"visibility":0,"weathername":"阴","days_rain":0,"datetime":"2016031808","wind_dicrect":61.9,"min_temp":4.5,"bj_datetime":"2016-03-25 08:00:00","wind_dicrectname":"东北","wind_scale":1.5,"weather":"02","hours_rain":0,"max_temp":12.9},{"temp":13.1,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":336.6,"min_temp":999.9,"bj_datetime":"2016-03-19 02:00:00","wind_dicrectname":"西北","wind_scale":0.5,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":7.2,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":81.7,"min_temp":999.9,"bj_datetime":"2016-03-20 05:00:00","wind_dicrectname":"东","wind_scale":2.9,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":8,"visibility":0,"weathername":"多云","days_rain":0,"datetime":"2016031808","wind_dicrect":86.4,"min_temp":6.4,"bj_datetime":"2016-03-20 08:00:00","wind_dicrectname":"东","wind_scale":3.9,"weather":"01","hours_rain":0,"max_temp":20},{"temp":15.5,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":77.3,"min_temp":999.9,"bj_datetime":"2016-03-20 14:00:00","wind_dicrectname":"东","wind_scale":5.4,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":7.9,"visibility":0,"weathername":"阴","days_rain":0,"datetime":"2016031808","wind_dicrect":77.7,"min_temp":5.6,"bj_datetime":"2016-03-21 08:00:00","wind_dicrectname":"东","wind_scale":4.3,"weather":"02","hours_rain":0,"max_temp":17.4},{"temp":9.9,"visibility":0,"weathername":"多云","days_rain":999.9,"datetime":"2016031808","wind_dicrect":49.5,"min_temp":999.9,"bj_datetime":"2016-03-23 20:00:00","wind_dicrectname":"东北","wind_scale":4,"weather":"01","hours_rain":0,"max_temp":999.9},{"temp":7.3,"visibility":0,"weathername":"多云","days_rain":0,"datetime":"2016031808","wind_dicrect":40.9,"min_temp":5.3,"bj_datetime":"2016-03-24 08:00:00","wind_dicrectname":"东北","wind_scale":3,"weather":"01","hours_rain":0,"max_temp":14.8},{"temp":15.6,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":294.7,"min_temp":999.9,"bj_datetime":"2016-03-18 14:00:00","wind_dicrectname":"西北","wind_scale":1.1,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":15.2,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":297.3,"min_temp":999.9,"bj_datetime":"2016-03-18 17:00:00","wind_dicrectname":"西北","wind_scale":1.2,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":15.7,"visibility":0,"weathername":"多云","days_rain":999.9,"datetime":"2016031808","wind_dicrect":60.1,"min_temp":999.9,"bj_datetime":"2016-03-19 11:00:00","wind_dicrectname":"东北","wind_scale":3,"weather":"01","hours_rain":0,"max_temp":999.9},{"temp":11.9,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":73.6,"min_temp":999.9,"bj_datetime":"2016-03-20 20:00:00","wind_dicrectname":"东","wind_scale":4.4,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":7.1,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":74.6,"min_temp":999.9,"bj_datetime":"2016-03-21 02:00:00","wind_dicrectname":"东","wind_scale":3.4,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":13.1,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":38.6,"min_temp":999.9,"bj_datetime":"2016-03-23 14:00:00","wind_dicrectname":"东北","wind_scale":5.6,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":11.5,"visibility":0,"weathername":"多云","days_rain":999.9,"datetime":"2016031808","wind_dicrect":41.5,"min_temp":999.9,"bj_datetime":"2016-03-24 14:00:00","wind_dicrectname":"东北","wind_scale":3.9,"weather":"01","hours_rain":0,"max_temp":999.9},{"temp":14.1,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":335,"min_temp":999.9,"bj_datetime":"2016-03-18 11:00:00","wind_dicrectname":"西北","wind_scale":0.9,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":12.2,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":346.5,"min_temp":999.9,"bj_datetime":"2016-03-19 05:00:00","wind_dicrectname":"静风","wind_scale":0.6,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":13.2,"visibility":0,"weathername":"阴","days_rain":0,"datetime":"2016031808","wind_dicrect":23.4,"min_temp":11.4,"bj_datetime":"2016-03-19 08:00:00","wind_dicrectname":"东北","wind_scale":1.9,"weather":"02","hours_rain":0,"max_temp":16.6},{"temp":18.4,"visibility":0,"weathername":"多云","days_rain":999.9,"datetime":"2016031808","wind_dicrect":62.1,"min_temp":999.9,"bj_datetime":"2016-03-19 14:00:00","wind_dicrectname":"东北","wind_scale":3.3,"weather":"01","hours_rain":0,"max_temp":999.9},{"temp":11.1,"visibility":0,"weathername":"多云","days_rain":999.9,"datetime":"2016031808","wind_dicrect":77.6,"min_temp":999.9,"bj_datetime":"2016-03-19 23:00:00","wind_dicrectname":"东","wind_scale":3.2,"weather":"01","hours_rain":0,"max_temp":999.9},{"temp":8.3,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":82.5,"min_temp":999.9,"bj_datetime":"2016-03-20 02:00:00","wind_dicrectname":"东","wind_scale":3.2,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":12.4,"visibility":0,"weathername":"多云","days_rain":999.9,"datetime":"2016031808","wind_dicrect":84.5,"min_temp":999.9,"bj_datetime":"2016-03-20 11:00:00","wind_dicrectname":"东","wind_scale":4.8,"weather":"01","hours_rain":0,"max_temp":999.9},{"temp":14.5,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":72.7,"min_temp":999.9,"bj_datetime":"2016-03-20 17:00:00","wind_dicrectname":"东","wind_scale":4.8,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":6.5,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":71.8,"min_temp":999.9,"bj_datetime":"2016-03-21 05:00:00","wind_dicrectname":"东","wind_scale":3.3,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":9.1,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":90.5,"min_temp":999.9,"bj_datetime":"2016-03-22 02:00:00","wind_dicrectname":"东","wind_scale":3.2,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":14.1,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":300.2,"min_temp":999.9,"bj_datetime":"2016-03-18 20:00:00","wind_dicrectname":"西北","wind_scale":0.4,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":14,"visibility":0,"weathername":"晴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":77.5,"min_temp":999.9,"bj_datetime":"2016-03-19 20:00:00","wind_dicrectname":"东","wind_scale":2.6,"weather":"00","hours_rain":0,"max_temp":999.9},{"temp":10.9,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":92.7,"min_temp":999.9,"bj_datetime":"2016-03-21 20:00:00","wind_dicrectname":"东","wind_scale":2.9,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":10.4,"visibility":0,"weathername":"阴","days_rain":0,"datetime":"2016031808","wind_dicrect":93.3,"min_temp":8.1,"bj_datetime":"2016-03-22 08:00:00","wind_dicrectname":"东","wind_scale":3.8,"weather":"02","hours_rain":0,"max_temp":15.5},{"temp":13.5,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":312.2,"min_temp":999.9,"bj_datetime":"2016-03-18 23:00:00","wind_dicrectname":"西北","wind_scale":0.4,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":13.4,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":95.1,"min_temp":999.9,"bj_datetime":"2016-03-21 14:00:00","wind_dicrectname":"东","wind_scale":4.8,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":10.2,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":44.8,"min_temp":999.9,"bj_datetime":"2016-03-23 02:00:00","wind_dicrectname":"东北","wind_scale":2.5,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":9.9,"visibility":0,"weathername":"阴","days_rain":0,"datetime":"2016031808","wind_dicrect":35.1,"min_temp":9.3,"bj_datetime":"2016-03-23 08:00:00","wind_dicrectname":"东北","wind_scale":4.1,"weather":"02","hours_rain":0,"max_temp":15.1},{"temp":11.9,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":74.5,"min_temp":999.9,"bj_datetime":"2016-03-22 20:00:00","wind_dicrectname":"东","wind_scale":2.1,"weather":"02","hours_rain":0,"max_temp":999.9},{"temp":5.6,"visibility":0,"weathername":"阴","days_rain":999.9,"datetime":"2016031808","wind_dicrect":69.6,"min_temp":999.9,"bj_datetime":"2016-03-25 02:00:00","wind_dicrectname":"东","wind_scale":0.9,"weather":"02","hours_rain":0,"max_temp":999.9}]
     * stationid : 58238
     */

    private String lastupdatetime;
    private String stationid;
    /**
     * temp : 17.2
     * visibility : 0
     * weathername : 多云
     * days_rain : 999.9
     * datetime : 2016031808
     * wind_dicrect : 72.5
     * min_temp : 999.9
     * bj_datetime : 2016-03-19 17:00:00
     * wind_dicrectname : 东
     * wind_scale : 3.4
     * weather : 01
     * hours_rain : 0
     * max_temp : 999.9
     */

    private List<WeatherdataEntity> weatherdata;

    public String getLastupdatetime() {
        return lastupdatetime;
    }

    public void setLastupdatetime(String lastupdatetime) {
        this.lastupdatetime = lastupdatetime;
    }

    public String getStationid() {
        return stationid;
    }

    public void setStationid(String stationid) {
        this.stationid = stationid;
    }

    public List<WeatherdataEntity> getWeatherdata() {
        return weatherdata;
    }

    public void setWeatherdata(List<WeatherdataEntity> weatherdata) {
        this.weatherdata = weatherdata;
    }

    public static class WeatherdataEntity {
        private double temp;
        private int visibility;
        private String weathername;
        private double days_rain;
        private String datetime;
        private double wind_dicrect;
        private double min_temp;
        private String bj_datetime;
        private String wind_dicrectname;
        private double wind_scale;
        private String weather;
        private int hours_rain;
        private double max_temp;

        public double getTemp() {
            return temp;
        }

        public void setTemp(double temp) {
            this.temp = temp;
        }

        public int getVisibility() {
            return visibility;
        }

        public void setVisibility(int visibility) {
            this.visibility = visibility;
        }

        public String getWeathername() {
            return weathername;
        }

        public void setWeathername(String weathername) {
            this.weathername = weathername;
        }

        public double getDays_rain() {
            return days_rain;
        }

        public void setDays_rain(double days_rain) {
            this.days_rain = days_rain;
        }

        public String getDatetime() {
            return datetime;
        }

        public void setDatetime(String datetime) {
            this.datetime = datetime;
        }

        public double getWind_dicrect() {
            return wind_dicrect;
        }

        public void setWind_dicrect(double wind_dicrect) {
            this.wind_dicrect = wind_dicrect;
        }

        public double getMin_temp() {
            return min_temp;
        }

        public void setMin_temp(double min_temp) {
            this.min_temp = min_temp;
        }

        public String getBj_datetime() {
            return bj_datetime;
        }

        public void setBj_datetime(String bj_datetime) {
            this.bj_datetime = bj_datetime;
        }

        public String getWind_dicrectname() {
            return wind_dicrectname;
        }

        public void setWind_dicrectname(String wind_dicrectname) {
            this.wind_dicrectname = wind_dicrectname;
        }

        public double getWind_scale() {
            return wind_scale;
        }

        public void setWind_scale(double wind_scale) {
            this.wind_scale = wind_scale;
        }

        public String getWeather() {
            return weather;
        }

        public void setWeather(String weather) {
            this.weather = weather;
        }

        public int getHours_rain() {
            return hours_rain;
        }

        public void setHours_rain(int hours_rain) {
            this.hours_rain = hours_rain;
        }

        public double getMax_temp() {
            return max_temp;
        }

        public void setMax_temp(double max_temp) {
            this.max_temp = max_temp;
        }
    }
}
